"use strict";
var Student = /** @class */ (function () {
    // 构造器里面的this执行属性必须要提前定义属性
    function Student(id, name) {
        this.name = "xiaowang";
        this.id = id;
        this.name = name;
    }
    // play这个行为会放在原型对象身上
    Student.prototype.play = function (type) {
        console.log(type);
    };
    Student.show = function () {
    };
    Student.address = "武侯区";
    return Student;
}());
var student1 = new Student(1, "xiaofei");
student1.play("打游戏");
console.log(student1.id);
// console.log(student1.address);
console.log(Student.address);
Student.show();
